﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace GUI.Headquarter
{
    public partial class Headquarter : System.Web.UI.MasterPage
    {
        public string Message { get; set; }
        public MessageType MessageType { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
        }

        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);

            if (Message != null)
            {
                messageBoard.InnerText = Message;
                messageBoard.Visible = true;
            }
        }
    }
}